Detailed design optimization of the MITICA negative ion accelerator in view of the ITER NBI