build tree add