Modified Lk to CKp1 logic to optimize