root finding bisection changed