diff --git a/src/THcHallCSpectrometer.cxx b/src/THcHallCSpectrometer.cxx
index f8daf0562df761863c52faf544c98d94f1cc9cc6..532c13d3448c2183c3fb9e872d2f93575ac93bd3 100644
--- a/src/THcHallCSpectrometer.cxx
+++ b/src/THcHallCSpectrometer.cxx
@@ -127,7 +127,7 @@ Bool_t THcHallCSpectrometer::GetTrSorting() const
 void THcHallCSpectrometer::InitializeReconstruction()
 {
   fNReconTerms = 0;
-  for(Int_t i=0;i<fNReconTerms;i++) {
+  for(Int_t i=0;i<fMaxReconElements;i++) {
     for(Int_t j=0;j<4;j++) {
       fReconCoeff[i][j] = 0.0;
     }