Add vmap for linediff.