bisection method changed