refactor LinkedListFifoStack