rewrote decompose line function
Merge branch 'master' of https://github.com/ksteinfe/decodes