private byte[] createKey(int band, int[] hashes) {
            ByteBuffer byteBuffer = ByteBuffer.allocate((hashes.length + 1) * 4);
            IntBuffer intBuffer = byteBuffer.asIntBuffer();
            intBuffer.put(band);
            intBuffer.put(hashes);
            return byteBuffer.array();
        }
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