Improved bisector algorithm and calculations.