Convert the var dim assignment ckernels to the CRTP method