simple median filter.