Added putStack in slotCompactor for debugging