Unchecked changes to algorithm
pathfinding completed