fixed issues with Box.intersections and EdgeLinear.intersactions