d(\alpha(a_0),\alpha(a_1))+\cdot+d(\alpha(a_{n-1}),\alpha(a_n))