implemented custom slice sampler (to improve performance)