
$d_i=\operatorname{degree} (\overline{\vphantom{T}T_i})$
