still working on improving the precomputed motif chain hashing process