Add binary search for BIT