Add distance to prediction.