trying to fix bitset handle of input binary sequences