Increase weights for repeated edges.