Smooth line merging into the continuum and Stark broadening of deuterium Balmer lines for plasma diagnostics