return current when there is no better neighbor
display stat after finishing search