When the earth became flat