Legacy treesum support