adjust distance