Soft Discretization-based Bayesian Network Inference