first generate this tree ...