Update insertInterval.cpp