create a simple split of the dungeon but it doesn't work well. Must modify the code