Turns out, I was misunderstanding what the lines around the numbers meant, because I thought they were the inner walls NOT the outer ones. I have no idea how I'd be able to tell the difference in retrospect, so I had the puzzle backwards the whole time.