First version of the progressive blurring algorithm, thanks to niam-foxel (Nils Hamel)