didn't you hollow it out ?

well that's easy enough.
Copy and paste the first module.

just reduce the size of the original by 2-3mm all round. Call it removeblock module. And difference the two modules.

You can repeat that script for different size and shape blocks.