It should also be mentioned that if the length of this raceway exeeds 24 inches, you must derate the ampacity of each conductor by a factor given in NEC table 310.15(B)(3)(a). As an example, where NM is installed, this would start causing problems with #12s at five 2 conductor cables (over 9 current carrying conductors), or with #10s at three 2 conductor cables (over 6 current carrying conductors). At 10 current carrying conductors, a #12 would need to be derated to 50% of 30 amps (15 amps), as per 90C column of 310.15(B)(16). At 7 current carrying conductors, the ampacity of a #10 must be derated to 70% of 40 amps (28 amps), as per the 90C column of table 310.15(B)(16). You would then be in violation by installing the #12s on a 20 amp breaker, or the #10s on a 30 amp breaker.