remove unused tree-gen.r