refs #145 capture the node's height before calling finalize(), which is
the last point we may read the node variable safely.