Uses less memory
Added option to exclude samples before filtering