optimize rectangles when applying multi-pass blur