inside constraint for a polyline answer