Automatically determine the energy mesh
Shouldn't maxdst have been cntdst when checking flceng_stored_g?