Nevertheless, a symmetric construction containing two heads seems to be more appropriate for some languages (e. g. German, see (Lang, 2002)).
the presented algorithm is able to deal with phrases containing any number of compounds.