Uncovering the influence of common nonmetal impurities on the stability and strength of a $\Sigma$5 (310) grain boundary in Cu.