dunno what machine you're using, but Klipper's website says you'll need 20'M - 19'C for the APD (doesn't specify cortex, assuming it's the same). I've found that on my Klipper this provides for enough length to pull the last mains/crosses, so you should be good with 20' lengths for each.
if...