replaced dflgm

Newer version is faster and smaller