Most likely you didn't align your map_regions and map_heights correctly.