kind of fix of compiler optimization bug in ecalrec.C