remove bisection code