Removed unnecessary generateWalls call from Map