(color online) Computed total energy (Ry) versus volume (a.u.) for the KS, ST, PMCA, and WS structures of the Cu2MgSnS4 compound.