Economics of flooding