add tree building to JISON