convert tag block to flexible widths