noise reduction + valid and fast neighborhood points computation