fixed size generic stack