Updated algorithm according to m4 improvements
Merge pull request #2 from commonsmachinery/m4-improv

Updated algorithm according to m4 improvements