State one similar factor which contributed to the development of early agriculture in Mesopotamia and Egypt

State one similar factor which contributed to the development of early agriculture in Mesopotamia and Egypt