Adding in realignment step for pairwise alignments.