I took a custom picture to explain this:
Your issue is the last number.
When you step onto a Z that places you higher than the region it "thinks" you are in, you technically leave the region.
Go to the starting point of your region and [props yourself.
Find your Z then say [set z (thenumber...