Only main cavern, using A* algorithm to connect