#064: Remembered Length

Okay fine, here’s a normal Remembered Length puzzle. It is, however, quite a hard puzzle. You might have to reach pretty deep into your loop theory toolbox to solve this without bashing.

Rules: Draw an oriented, non-intersecting loop through the centres of all cells. When crossing a boundary, the number clue in the previous region (if any) indicates how many cells the loop visits before crossing another boundary.