Generate leaf_ee_init and x_init instead of copying