add bit binary search