Fast Poisson code with precalculated exp()