8.0 backport less dmo chs fme sle

use `dict.fromkeys(ids, use_less)`