A solution for weights and scale values in functional measurement.