If lazy flag is set for current node of segment tree then there are some pending updates . So we need to make sure that the pending updates are done before processing the sub sum query
if ( lazy [ si ] != 0 ) : NEW_LINE