Finite particle number effects in high-energy nuclear collisions: Implications on pion spectra