Bayesian networks up to K2