[distance] Optimize cross_track_point_box - calculate courses only once, do not use other strategies than PP