Optimization of the FELIX accelerator with respect to laser performance