First version of blurring algorithm.