Replaced dflgm

New version is smaller & faster