Reintroduce <root> vertex rewriting

Reintorduce c348f1b

It was removed accidentally by 921ff4
Print the original metafunction call in bt