finished 3.1 (fixed size stacks)