long-term cost analysis