parallel k-mers implementation