updated the bottom stack with constant size