After the hydrogen distribution, the initial degrees and the initial partition are updated for each hydrogen distribution. For example, the non-hydrogen atoms from the molecular formula C 6 H 6 have the initial respective degrees as and the initial partition . {6} There are 7 possible hydrogen distributions (Figure ) to these carbon atoms. After the hydrogen distribution step, the new lists of node degrees and partitions are used for the structure generation process. With the pre-hydrogen distribution, MAYGEN deals with a 6 𝑥 6 matrix instead of a matrix. The matrix size also has an impact on the canonical test 12 𝑥 12 since this test depends directly on the rows' permutations. The hydrogen distribution code is available in the hydrogenDistributor Java class.