Added function to automatically "offset" the generated map horizontally, so that the join between the side edges has the smallest amount of open space