implented getOverlapSequence