added findNearestNodeTo()