MotionPlanner: save some RAM. We only need to save the distance of the
last non-channel segment.