Is this happening directly after startup?
If yes, check your cell positions, especially that no cell has a position < 0 or > BoxSize.
And (via scatter plot or so) check if the cell positions fill your simulation volume and there
is not some region entirely devoid of cells. Let me know if this solves the problem.