Pathfinding between nodes, commit before adding agents