Changes to map generation algorithm