added code for prefilter4x4