tested the grid based approach to particles