Looks like working particle distribution in grid_functions.pyx.