test & improve runlength filter