Improved BayesGrid