optimized BasicParticleApp using ppl