Modified Binary Search method in Converter's Solve function