Fix bug printing edges in aligner