bitwise search