Virtual stack implemented as a set of contiguous stacks