bisect search FTW