finalised one version of kmerization