testing path intersections
joining paths