Track costing using a FIFO