Fixed stack implementation