Which was a first step in the development of both the Chinese and Mesopotamian societies into civilizations?

Development of irrigation