nearest k init