Optimizations for the LGD dump