d
d
build tree from db complete