add filter function option

To calculate the checkpoint correctly for those using filter functions, we'll need this thing too.