Updates to tree, node, and minimax