Add maximum levels to avoid too large grids/triangles.