Fixed stacks and queues