@Override
        public void insertToBand(int band, int[] hashes, int id) {
            byte[] hashtableKey = createKey(band, hashes);
            byte[] idsBitmapBytes = super.get(hashtableKey);
            if (idsBitmapBytes == null) {
                RoaringBitmap idsBitmap = RoaringBitmap.bitmapOf(id);
                idsBitmapBytes = serializeBitmap(idsBitmap);
            } else {
                RoaringBitmap idsBitmap = unserializeBitmap(idsBitmapBytes);
                idsBitmap.add(id);
                idsBitmapBytes = serializeBitmap(idsBitmap);
            }
            super.put(hashtableKey, idsBitmapBytes);
        }
Finds the number of bands that need to be used for a given similarity threshold.

@param nHashes
@param jaccardThreshold
@return
ache/src/main/java/achecrawler/minhash/LSH.java