[tool] fix final stage of bisection