If I had to guess a reason(s)
The codebase was very old - You're looking at 1990's C code that was one day renamed .cxx as well as a quite complex...