improve setIntersection adjust algorithm