slice simulate stack