Compute leaf layout from IJK and store cell indices in one array instead of a vector per leaf. Reduces tree build time by about 30 % and peak memory by about 200 MiB on a 9.8M cell grid.