NearestN: check buffer dimensions in _next not ctor (in case changed on-the-fly)