Decision Tree coding