How to find the carrying capacity of a population?