Fixed it to where single values did not need to be allocated in global memory.