Moved minhash generation to thread pool