cost calculation fixed