Structural design of intermetallics: structural mapping, site preference of third alloying element and planar defects