BN forward sampler