Add filtering when scaling