Factors influencing group selection