minStepToGuard added