fixbug: if empty block found, GpuScan goes into infinite loop.