Raise exceptions when the map size is bigger than the world size