set tag&contact distance