Compact the Item struct