Added cmake option for fast filtering