How Many Energy Shells Does Mg Have