refine best alignments
refine identity calculation