at this point setting targetNearestDistance doesn't work anymore.