Fix bug with newThird always being false
Update bounds for generated parameters