Thank you for your reply. Actually, all of these zones are internal, which is why I am confused about how to select the correct adjacent cells.
Is there a way that I can use an "IF" loop to only perform operations on cells for specific z-coordinate?
e.g. IF z >= 1 do .... else z <= 1 do nothing