add tree hash