reducing the number of filter objects created. fixes #61