Use the end of the array list as the top of the stack.