median filter in action (slow)