treeMlFactory for stability
Signed-off-by: IcePlus <zhengjiabin.tj@gmail.com>