set compression level