initial structure for bayesian networks algorithms