add baby-steps-giant-steps for stage2