Fixed inexact binary search
Main program for performance test running