Speedup to remove redundant calls to load lattice objects