Direct and absorption costing in the evolution of life cycles