Decoder able to create upgradeTree