differentiate on scale and interpolate layer unit and quantity