ZBosonVeto: rewriting of code logic, can now accommodate also light flavor veto