Improved pathfinding for syrup