Slight optimization during map generation.