Well if Russia is alleging that Ukraine joining NATO itself is a security concern, and therefore would invade if Ukraine makes a sovereign decision, then there is nothing to concede or compromise. The first priority has to be Ukraine's sovereignty (or any country's sovereignty for that matter), and they have a right to make the decision to ally themselves with the west. Putin should have resorted to diplomacy to obtain concessions and make compromises, instead of invading. Nukes in Ukraine are not really a concern though, as America has enough missiles to hit Russia from anywhere.
For example, the recently elected President of the Maldives, campaigned on an "India Out" platform. And won elections. He ordered Indian troops stationed in the Maldives to leave, and subsequently broke protocol and visited China as the first country after taking office, when historically, Maldivian Presidents have visited India. He further agreed to host a Chinese "research vessel" aka, spy ship at their ports. Maldives is 2000Km from India, and therefore Chinese influence, is a security threat. So what should India do? Invade? India instead agreed to remove troops by May, 2024 and came to an agreement, that instead of military personnel, India will send civilian personnel to man the aircraft in the country. A similar approach should have been taken by Putin instead of all out war. Its ridiculous to invade because a neighbouring country wont play ball for whatever reason. Putin is a thug. lol.