fixed binary rep problem with BigDecimal