Total scattering measurements were conducted at BM31 / Swiss Norwegian Beamlines (SNBL) at the European Synchrotron Radiation Facility (ESRF) in Grenoble, France. The powdered samples were packed in glass capillaries with an inner diameter of 1 mm and a wall thickness of 0.01 mm. The samples were mounted on a capillary spinner downstream of the beam. A PILATUS3 X CdTe 2M detector was placed at an angle of 15 • downstream of the sample to maximize the accessible Q-range. For each sample, 20 images with an acquisition time of 1 minute were collected. 2D diffraction images were averaged and integrated using PyFAI. An empty glass capillary was measured and subtracted from the 1D diffractograms prior to data reduction. Data reduction to G(r) was done using PDFgetX3 withing xPDFsuite. The Fourier transform from F(Q) to G(r) was done using Q max = 25 Å, Q min = 0.1 Å, and rpoly = 1.4. Modeling and fitting of the PDF data were done using DiffPy-CMI. Structural models were obtained via first-principle DFT calculations. More details can be found in the section Computation Details and the supplementary information.