An Analysis of the Tree Convolution Algorithm