Managing Pattern Lifecycle Costs: Repair, Storage, and Replacement Strategies.