Length of edge indicates match