+ added dynamic compression functionality