Port old (not-working) algo of barcode generator