16.Fast Distance and Dimension