distance measure packet output