when terminal nodes more than one need new algorithm