Modified lsh_forest: remove redundant hashes, aded lower_bound for maximum depth