Stone decay and the preservation of buildings