distance between n1 and n2