What is carrying capacity determined by