Add theshold filter