Engine size does not matter...what matter is the trans and rear end...no matter what size the engine..the transmission cross member places the rear of the trans in the same place for a given transmission.
so a 340/360 with a 727 and 8 1/4 would have the same driveshaft length as a 440/727/8 1/4. as long as it is the same car....