Bayesian approach to project buffer sizing