On the RMgSn rare earth compounds