apply zscan stack manipulations