Use a StringBuilder to append zeros in front a string in BinHelper.