Bolean artifacts

Hello, im doing a lot of 3D printing, and as a result, i have to do a lot of boolean operations.

now, im getting a ton of artifacts, so i tried to boil it down to as simple of a scenario as i could.

here are two cubes, solidified, and put inside of each other.

Trying to boolean only one of them works perfectly fine, but while booleaning in the area where they intersect, i get a ton of flickering, does anyone know why this is, and if there is any way to prevent it?