Added bisection method to improve precision of reference point calculations