Avoid the need to compact the expanded deps array