The refinement region cannot brep properly

I cannot set properly the refinement region on my second box even tough I already boolean the refinement box with object analysis. It always set into the another side, not in bottom side.

I share my rhino file at https://drive.google.com/file/d/17ZPXMsEl9bdM3cCzMCr_e55qSdPuar2a/view?usp=sharing
my script : https://drive.google.com/file/d/19EBH5TwqBLUAdukgjn6CUB6GSqUmv3s8/view?usp=sharing

I need help, Thanks!