tweaks to Dtree.cu