'C' illustrates how the mitre 'returns' the rebate.
'D' gives an easy answer to 'how to accommodate a groove'. If mitring is daunting, you could alter the position of the shoulder in the same fashion as at 'A' and 'B'.