ASOT 524 Fast Distance and Dimension