Minhash now working