add fixed capacity stack implementation