Auto resizing stack