replace BitSet with Bits
bitset to Bits