S v = S u ∩ S w if S u and S w overlap S u ∪ S w otherwise