Modification to how the first valid kmer is calculated.