Add dynamic compression