Loop quantization as a continuum limit