Add LSH bit sampling on hamming distance realization