Add createTreeFromDest method