Inspired by this, I have been thinking about a question for some days:
Suppose $G=(V, E)$ is a graph that each vertex $u$ in $V$ corresponds to a different 2-dimensional integer point $(m, n)$. An edge $(u, v)$ is contained in $E$ if and only if $u, v$ are exactly $1$ unit apart from (adjacent to) each other.
Now define a partition $P=\{S_1, S_2,\ldots,S_m\}$ is a "sliced" partition of $G$ if and only if
For every $u, v$ that $u∈S_i, v∈S_j, (u, v)∈E$, we have $j∈[i - 1, i + 1]$.
This means a vertex in $S_i$ can only be adjacent to vertices in $S_{i-1}, S_i, $ or $S_{i+1}$.
Is the following statement true?
For any such graph $G$ with $N$ vertices, there always exists a "sliced" partition $P$ of $G$ that $S_i$ in $P$ with maximum number of vertices has no more than $O(\sqrt N)$ vertices.
I spent some time and proved that a "sliced" partition of $n * n$ lattice grid will have at least one slice with $n$ vertices.
I also found out partition by simply doing Breadth-first search wouldn't work, since there is a counter-example that exceeds $O(\sqrt N)$ vertices by constructing a tree-like graph of a large size.
What can I do now?
Up to a factor of $2$, trying to minimize the size of the largest slice is the same as ordering the vertices of a graph while trying to minimize the distance between adjacent vertices. In one direction, suppose we have a slicing partition $S_1,\dots, S_m$ with $|S_i|\le k$ for all $i$. Then ordering the vertices by slice (and then arbitrarily within a slice) means that two adjacent vertices are at most $\max_i \{|S_i| + |S_{i+1}|\} \le 2k$ apart. Conversely, suppose we have a vertex ordering $v_1,v_2,\dots,v_n$ such that whenever $v_iv_j$ is an edge, $|i-j|\le k$. Then dividing the ordering into blocks of size $k$ gives a slicing partition.
With this in mind, I can make partial progress and prove an upper bound of $O(N^{3/4})$ rather than the $O(N^{1/2})$ we want.
By the Szemerédi–Trotter theorem, whatever the vertices of the lattice graph are, there are $O(N^{1/2})$ lines (in the plane) which pass through more than $N^{1/2}$ vertices. We can pick an interval $I = [C N^{1/4}, 2C N^{1/4}) \cap \mathbb Z$, by picking the constant $C$, so that the number of pairs $(a,b) \in I \times I$ is more than the number of such lines.
Throw away every pair $(a,b) \in I \times I$ such that there is a line $ax + by = c$ passing through more than $N^{1/2}$ vertices of the graph. (Any such line can be represented by at most one pair $(a,b) \in I \times I$)
There is still at least one pair $(a^*, b^*)$ left. Now sort all the vertices $(m,n)$ of our graph by the value of $a^*m + b^*n$. Break ties arbitrarily.
Any two adjacent vertices are $\max\{a^*, b^*\} = O(N^{1/4})$ values apart, and for each value there are at most $N^{1/2}$ vertices with that value. (If the value is $c$, there are at most $N^{1/2}$ vertices on the line $a^*x + b^*y = c$.) So the indices of any two adjacent vertices differ by at most $O(N^{3/4})$ in this ordering, which gives a slicing partition where the maximum size of a slice is $O(N^{3/4})$, too.