How to Maximize the Average Lifespan of a Roof