Commiting before improving pathfinding.