@Override
 public int[] getMinMaxRangeFor(int dictId) {
   int[] ret = new int[2];
   if (dictId >= cardinality) {
     return ret;
   }
   ret[0] = indexReader.getInt(dictId, 0);
   ret[1] = indexReader.getInt(dictId, 1);
   return ret;
 }
 @Override
 public ImmutableRoaringBitmap getImmutable(int idx) {
   if (idx >= cardinality) {
     return new MutableRoaringBitmap();
   }
   MutableRoaringBitmap rr = new MutableRoaringBitmap();
   int min = indexReader.getInt(idx, 0);
   int max = indexReader.getInt(idx, 1);
   for (int i = min; i <= max; i++) {
     rr.add(i);
   }
   return rr;
 }