How did the distance between Egypt and other civilizations, such as Mesopotamia, impact the Egyptians?