Would it be better to use the tree's SHA here?