The choice of linking vowel is partly determined by vowel harmony: back vowel stems select a or o whereas front vowel stems select e or ö.
for back vowel stems, it is largely unpredictable whether a or o is used (Siptár andTörkenczy 2000:224f., Vago 1980:110f.