Fix the scaling parameters for the weight type.