multiple bisection-method CV function