how does llm compaction work