Factorizer implementation