phi and B parameters should be passed to each posterior sample