terminals with equal names are covered now (tree2image)