made globalroi3d optional