Optimized stacksnippet building
Reformatted to get consistent tabs
Merge pull request #29 from allrameest/stacksnippet-optimize

Stacksnippet optimize