driveshaft length...?

Same question about leanths diffrent situation, I will be swaping a 904 with a 727 and installing an 8 3/4... How much should i shortened or how long should my drive shaft be....