Add weights to minitrees.