Statistical matching by Bayesian Networks