Made stack space smaller.
Merge pull request #12 from matsstaff/work

Made stack space smaller.