Fixed building MiniMax decision tree.