segmentInRightSteps