bayes mark calculation