Roll over other nodes to compare distance matrices.