Extracted out padded filtering