}
public Map<Pow2LengthBitSetRange, NodeValue<BigIntegerContent>> createRolledupCache(
MockHTable table, MultiDimensionalSpec spec, SpaceFillingCurve sfc, int cacheSize)
throws IOException {
int[] elementLengths = Ints.toArray(new HilbertIndexMasks(sfc.getSpec()).cardinalities());
BitVector[] path = new BitVector[elementLengths.length];
for (int i = 0; i < path.length; ++i) {
path[i] = BitVectorFactories.OPTIMAL.apply(elementLengths[path.length - i - 1]);
}
StreamingRollup<BitVector, BigIntegerContent> rollup = BoundedRollup.create(