bemhmtl: support modes width leading digit

fix #351