Working on distance approximation.