Tweak BB, RB length filters

To prevent unreasonable values causing BigDecimal slow down.