Initial partition can fail
The simple grid partitioning method can fail when small numbers of cells are available.
To work around this, new methods have been investigated, like random sampling, vectorised sampling and particle density.
See branch initial_partition.