multi-thread binary search