finished translation from ldsk to tree