dim_tbin2 to encode nc_dim_bintree_X