.cc patches for Egamma regression