Determining Congruency by Lengths