Cap maximum distance to waypoint for hfn