Code simplification in k-nucleotide benchmark