Faster findIntersections and createGraph