Accel experiments with distance calculation.