changed flood cost calculation