How to move communities away from flooding risks with minima