Fixed cost values to be the final step's cost, as opposed to the sum of each step's costs.