Factors affecting population size and their consequences