For \(y=(y_1,\ldots,y_d)\in[0,1]^d\):
\[
f(y)=\sum_{s=0}^{\infty}\ \sum_{\mathbf h\in\{1,\ldots,2^s\}^d}
\pi_{s,\mathbf h}\prod_{j=1}^{d}
\operatorname{Be}(y_j;h_j,2^s-h_j+1)
\]
The multivariate node weight is different from before:
In one dimension, a single \(R_{s, h}\sim\operatorname{Be}(b,b)\) gives the two daughter shares \((R_{s, h},1-R_{s, h})\).
In \(d\) dimensions, each node has \(2^d\) daughters, so:
\[
\begin{aligned}
\mathbf Q_{s,\mathbf h}&\sim\operatorname{Dir}(\boldsymbol b),\qquad
\boldsymbol b =(b_1,\ldots,b_{2^d})%,%\qquad
%\sum_{k=1}^{2^d}Q_{s,\mathbf h,k}=1.
\end{aligned}
\]
give the joint probabilities of advancing to any one of the \(2^d\) daughter nodes of the node \((s,h)\).
With stopping probability \(S_{s,\mathbf h}\sim\operatorname{Be}(\kappa,a)\), the weights are
\[
\begin{aligned}
\pi_{s,\mathbf h}
&=S_{s,\mathbf h}
\prod_{r=0}^{s-1}\left(1-S_{r,\mathbf g_{s,\mathbf h,r}}\right)
Q_{r,\mathbf g_{s,\mathbf h,r}},
\end{aligned}
\]
where \(\mathbf g_{s,\mathbf h,r}\) is the level-\(r\) ancestor of \(\mathbf h\).