prepare for seq-matching