The carrier weight module adds a cost method based on weight. The price is computed by finding the line for which the weight is greater or equal but smaller than the next line.