Well actually you need to compare model numbers since it is possible to find one model number covering all the hp ratings you mention. Hp rating does not mean much. But yes, the difference between 40 series L head and 42 series is the stroke thus different crankshaft and connecting rods. Difference in part number in this case does not mean the blocks will not interchange.
Walt Conner