Tree for maze.