Filling in implementation of FastPatternSearcher