Source: https://chemrxiv.org/engage/api-gateway/chemrxiv/assets/orp/resource/item/60c758c4842e65a928db48be/original/z-matrix-template-based-substitution-approach-for-enumeration-of-3d-molecular-structures.pdf