Implement distributed LSH