Each section is designed and optimized as stand-alone machines for a good transmission and minimum emittance growth. End-to-end simulations starting from the source have been carried out in order perform a global optimization of the structures in the context of a complex machine.