Work on curve intersection