complete_common_string: Next try to compute common string (included debugging code)