can specify number of particles in command line