Efficient tree labeling using a variant of http://dbs.uni-leipzig.de/file/Insert_Friendly-TR2005.pdf