Fast Recursive filter with block local boundary conditions