Check for same distances in triangles added