lod grid optimization