changed minimum value of d to be 2 to ensure numerical instability. if d is too low, then the tail of the distribution of etas is too thick. That means the etas can get too high and the poisson means explode.