Optimizing blur effect