private void recalculateSubTreeSumUp() {
      Node<?> n = this;
      while (n != null) {
        n.recalculateSubTreeSum();
        n = n.getParent();
      }
    }
private void recalculateSubTreeSumUp()