check for filterlength in initStream()