Update i.cpp

Fewer lines of code means fewer bugs