get longest motif
merged