function balanceUpstream(node) {
  let current = node;
  let newParent;
  while (current) {
    newParent = balance(current);
    current = current.parent;
  }
  return newParent;
}
Bubbles up balancing nodes a their parents

@param {BinaryTreeNode} node