use BitSet over Set<Integer> for registers