find the length of the scale
double getScaleLength(Size size) => getScaleUpperLimit(size) - getScaleLowerLimit(size);