Restoring pathfinding, redefining pathfinding algorithms