Make the world loop from each direction