MINOR: wouldn't compile on my g++, maybe because of different settings: variable i was redeclared, and a fixed length array was being deleted.