pathfinding almost completed