bisection method in vw and pr  hs call