Added new pattern extractor that ignores patterns with too many stones.