Fix particle monitor data type; speed up matched bunch generation.