setStepsToAdapt function

setStepsToAdapt