removed global variables and solved segfault problem in the constructor of ParticleContainerLC