Avoid to compute an infinite or negative damping if dist <= ds.