make sure to copy the maze.