def _spacingx(node, max_dims, xoffset, xspace):
x_spacing = _n_terminations(node) * xspace<EOL>if x_spacing > max_dims[<NUM_LIT:0>]:<EOL><INDENT>max_dims[<NUM_LIT:0>] = x_spacing<EOL><DEDENT>return xoffset - x_spacing / <NUM_LIT><EOL>
Determine the spacing of the current node depending on the number
       of the leaves of the tree