Optimization of a Batch Polymerization Reactor at the Final Stage of Conversion