more correct implementation of get_rx_distance method