A distance conversion program