Can now use either E-BST or histograms for discretization