Distributing responsibilities for safety from flooding