Enabling M-Mode Distance Measurement