Floods cost small firms £831m