Use \hskip instead of \kern in add_spacing.