what is the feasibility of loading energy/density grids from file and applying `replicate(grid, repfactors)`?