Using set operations to check for common edges now, and will espouse doing so elsewhere.
Updated.