how did the Mesopotamians control the two rivers?