Crossvalidation for step model.