Replaced dflgm

Newer dflgm algorithm is smaller & faster