Change weight formula.