added parallel compression