Adapted the finding of intersections in preperation of csg-shape