Update SmallFunctions.cc