Almost working neighbor filter