Millions lack shelter after floods