@Override
    public byte isValue(int packId, long minVal, long maxVal, long packMin, long packMax) {
        assert packId >= 0 && packId < packCount;
        int packOffset = packId << PACK_SIZE_BYTE_SHIFT;
        if (minVal == maxVal) {
            byte res = checkHash(bufferAddr + packOffset, minVal, packMin, packMax, isFloat);
            if (res == RSValue.None) {
                return RSValue.None;
            }
            return RSValue.and(
                    res,
                    checkHistogram(bufferAddr + packOffset + PACK_HASH_SIZE_BYTE, minVal, maxVal, packMin, packMax, isFloat));
        } else {
            return checkHistogram(bufferAddr + packOffset + PACK_HASH_SIZE_BYTE, minVal, maxVal, packMin, packMax, isFloat);
        }
    }
Hash + Histogram, each takes 1024 bits.

| hash index0 | histo index0 | hash index1 | histo index1 | ...
|  1024 bits  |  1024 bits   |  1024 bits  |  1024 bits   | ...
indexr-segment/src/main/java/io/indexr/segment/index/RSIndex_Histogram_V2.java