Implemented ComputeLargeContentSize with actual content measurement codes