Add substring diff. not efficient enough though. the most naive implementation