added cyclic longest common string