support multifurcating trees