search a bottom number using binary search