Update CommonSubstrings.cpp