stack: new Pointers function.
Fixes in examples and in stack package.