Assume H is given.
Same technique for embedding a 2-D mesh into an hypercube (see Quinn, Figure 5-14).