Fixed length stack implementation