splineMesh component deformation issues

Has anyone figured out how to calculate the scale for a Vector at Distance?