Extends the last contour of the destination path with the first contour of the source path, connecting them with a line.