Bayes algothim start