Simplify compression logic