Quick alg for distinguishing links.