Update the 1st step.

Find the nearst neighbor only in the corresponding cell.