Make stack parameters more generic
Merge pull request #1 from akum32/master

Make stack parameters more generic