adjust distance precision