iterative LSH test