make forwardSample behave like mcmc.