Do local filtering