snapshot repository; simplified and fixed roaring sizeInBits