Completed the distributed lsh