Performance optimization for a scintillating glass electromagnetic calorimeter at the EIC | Synapse