edit calc_new_salsa.rb(weight)