distance is back to int value.