merge: keep stash[] a local variable