add total-cost to cost grid