Lyman or RCBS case trimmer with a 40 caliber pilot. Or if you can figure out the exact length a Lee 45-70 case trimmer chucked up in a a drill press and trim those cases to length then do the fireforming, but using that method you might end up burning a few cases before you get the length right.