Main mechanisms of the AHTO. The population size of a species and its extinction risk are affected by the amount of suitable habitat available in the study area (the effective area). As heterogeneity increases, the proportion of some habitats might increase, but the average area of habitats decreases, leading, on average, to increased risk of extinction and a related decrease in species richness.