implement binary/decimal prefix filter