change denoise algorithm, improving it significantly