Edit to add - as per your experience the team themselves were pretty good to work with but in my case they had no sway (or at least said they didn't) with whatever archaic nested babushka-esque financial and legal mechanisms this century-old institute had. Perhaps if I'd put my foot down and refused to work it would have forced a proper renegotiation and worked out better in the end but it was a constant state of "we'll be finished next week, just one more thing" so the old sunk cost fallacy was always in deadlock with pragmatism and the frog slowly boiled.