what are some ways that homogeneity and heterogeneity can impact a group or community​