Refactored PoissonInjector to use scanLeft