resolve kmer indexing issue

memcpy out of bounds == random segfaults