Fork for pathfinding work