bitwise operation between bitsets