[WIP] Finished with scan_by_key kernels