building the end of the maze