i beive the p-38 was fitted with a beefier version of the allison engines in the p-40. the rolls-royce merlin was used in the p-51d because the allison in the b model could only get the bird up to hieghts of around 20,000 ft. the merlin could get the d model up to 40,000 ft. it also increased the rate of climb, and speed.