const MAX_DIM: f32 = 8192.0;
Layer dimensions are clamped to this; scale shrinks instead so the geometry stays consistent.
scale