Before revision:  Instead of a single polyline, we are given a set of  polylines possibly sharing some line segments and bend points.
After revision:  Instead of a single polyline, we are given a set of \ell polylines possibly sharing some line segments and bend points.