better intersecting for merge