split minhash and table building steps