You cannot efficiently cool a cubical CPU.
Now turn them sideways, so they rest on the edges. Put the stack in a small ceramic container with copper bottom and top. Fill with a high efficiency thermal transfer fluid, and make sure the convection currents flow properly.
There you go, small matter of engineering.