sbn: change sampling, add test by dbn