replace passing log2CtbSize/ctDepth down the algorithm tree by passing through the parent CB