What agricultural advancements led to an increase in population?