The interaction of subducting slabs and the 670 kilometer discontinuity