install tree when initializing nodes