convert Set<Integer> to BitSet for registers