modified logic to correctly linearly interpolate the width between control point widths