Draft: Fix kmer pangenome structure
The --kmer option with pangenome_structure showed a less smooth curve than the default one with genes; since the code was very old for --kmer specifically, I am refactoring the code first to see if this already solves it. Maybe later we will find the cause and refactor it.