moved FastFilter implementation in header