use BigDecimal to store min and max param validation

fixes #6