add check for dungeon size in ZDungeon constructor