LIFO method for stock working