What was the most important effect of the development of agriculture?