Multi-argument distances and regular sum-based multidistances