Throw overflow exception so exact duplicate nodes don't loop forever