tree2mnist