The life expectancy of buildings