fixed dist2