updated tip_alignment_analysis