The curve was using only the last point radius of the segment. Now, the value is interpolated between start and end points.