LCSk++ similarity metric for long strings