Running into OpenCL limits but this works if there are less than thirty frames per layer.