acewiki.gf: linearize a tree into all the languages at once for better performance