replace links instead of merging them -- simpler and not too lossy 99% of time