Fixed boundary value issue in step_1.