Fix in problem with neighborhood