What allowed for the Mesopotamian civilization to advance?