Moved from BigDecimal to LargeDecimal for Frequency foundation