Fix to lnZ = inf