This is exactly the right answer, HOWEVER Carbide Create currently has a bug where some pockets are cut incorrectly. Instead of clearing each depth completely before going deeper (“breadth first”), it will run a path repeatedly to full depth, THEN move on to the rest of the pocket (“depth first”).
So if you do this, and it seems like what the machine is doing doesn’t make sense, this isn’t you doing something wrong.