coalesce_spacing was getting killed because array size was different
than OpenCL memory buffer