use multiple cores on denoise_wrapper