Fit a tree of TVectors with a linear polynomial