New optimization and documentation for edgeBlur

@stragger please review.
Warnings detected.