[WIP] ckernel reduction lifting code