Cycling on paths