untested version of BitStreamFilter.filter(...).