adding support for indicating stash size, if non0