Scanning the surface of potential energy when changing the N2-X distance for diazonium salts (DFT B3LYP 6-31G(d,p)):