Fix distribution weights.