Most complicated workaround for multiprocessing ever.
Yet to fix the rest of the code. Only multi 3D working