Add comment to filterNeighbors