Improved performance of the dungeon generator.