fix outer e-atoms in RMG
fix outer e-atoms in RMG