3b3d811bf0
It's getting complicated to detect which part of curve is actually a cap in cases like extruded 2d curve with non-zero depth.