 		var n = Punycode.initialN
 		var outLen: UInt32 = 0
 		var i: UInt32 = 0
-		//var maxOut = UInt32.max
 		var bias = Punycode.initialBias
 
 

		delta = firstTime ? delta / Self.damp : delta >> 1;
		delta += delta / numPoints

//		for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) {
//			delta /= Self.base - Self.tmin
//		}

		var k: UInt32 = 0

		while delta > ((Self.base - Self.tmin) * Self.tmax) / 2 {

				break
			}
		}

		for j in scalars.indices {
			if j >= b {
