compute 1M particles