insert zeros for blanks in twig_m