added a neededFilters function

get a set of the filters needed for flat
reduction