Durability of building stone is affected by its