Optimizie tars2go complex type code generation