Structure of intermetallic compounds and phases