almost done with computing values off the tree