Modifying module to perform store instructions in threadIdx.x = 0 only.