Shortest Common Substring Matching Task