tweaked opencl kernel due to performance loss