Nested loop compilation.