The virtue of nitrogen hypoxia is that unlike being suffocated in more normal ways (e.g. a pillow over the face or strangulation) it does not cause CO2 to build up in the bloodstream, and the horrible sensations associated with not being able to breath are part of the body's reaction to CO2 building up in the bloodstream. It should, thus, be a painless death even before the condemned convict loses consciousness.