     }
     __syncthreads();
 
-    auto xCoords = sharedMem + threadIdx.x * (xRank + yRank + zRank);
-    auto yCoords = xCoords + xRank;
-    auto zCoords = yCoords + yRank;
+    Nd4jLong xCoords[MAX_RANK]; // = sharedMem + threadIdx.x * (xRank + yRank + zRank);
+    Nd4jLong yCoords[MAX_RANK]; // = xCoords + xRank;
+    Nd4jLong zCoords[MAX_RANK]; // = yCoords + yRank;
 
     const auto tid = blockIdx.x * blockDim.x + threadIdx.x;
 

    dim3 launchDims;
    launchDims.x = MAX_NUM_THREADS / 8;   // threadsPerBlock
    launchDims.y = (zArr.lengthOf() + launchDims.x - 1) / launchDims.x;  // blocksPerGrid
    launchDims.z = sizeof(Nd4jLong) * launchDims.x * (xArr.rankOf() + yArr.rankOf() + zArr.rankOf()) + 128; // sharedMem

    PointersManager manager(xArr.getContext(), "TrueBroadcastIntHelper<X>::exec");



    launchDims.x = MAX_NUM_THREADS / 8;   // threadsPerBlock
    launchDims.y = (zArr.lengthOf() + launchDims.x - 1) / launchDims.x;  // blocksPerGrid
    launchDims.z = 1024; // sharedMem

    PointersManager manager(xArr.getContext(), "TrueBroadcastHelper<X,Y,Z>::exec");

