The lightning distance field samples each layer's overhang on a grid
anchored at the bounding box of the infill outlines. The opening it
applies to the overhang first can push a sample a little past that box.
Such a sample falls into its neighbor's grid cell or one update() never
visits, so it is never erased, and generateNewTrees() adds the same
point to the tree forever until memory runs out.
Grow the box to cover every sample. It only changes when a sample lies
outside it, and models that slice today give the same result.
Fixes#17051
(cherry picked from commit 7ac46c9a61)