private float blockWeight(final Block block) {
			int depth = cfg.loopDepth(block);

			if (depth > RegisterAllocator.MAX_DEPTH) {
				return RegisterAllocator.MAX_WEIGHT;
			}

			float w = 1.0F;

			while (depth-- > 0) {
				w *= RegisterAllocator.LOOP_FACTOR;
			}

			return w;
		}