dmg plugin fixes (split kernel, do not use fixed iterations count)