Title: Phase and structural stability principles of polar intermetallic AeE4 and AeE2 systems (Ae = Ca,Sr,Ba; E = Al,Ga,In)