The distance between the mainshaft in the transmission is shorter in the K7/8 and F2/3 engines than in the K0-K6 engines. There is an extra tooth on the mainshaft's primary sprocket but the chains were the same, so the mainshaft had to move 1/2 chain link closer to the crankshaft in order to fit it.
Also, the K7/8 transmission (besides having poorer bearings in it than the K2) is different in 1st and 2nd gear ratios (teeth), like the F0/1 bikes.
I have successfully used K7/8 cranks in K4 engine cases (all else being K4) and K3 cranks in K7 cases, but the transmissions were native to the cases.
The K7/8 is essentially the F2/3 engine with higher-compression pistons and superior cooling (with a lesser cam and better valve train). To "follow" which parts are which, print out a list of the transmission parts of the K7 and of the K2, then look at the part numbers. The K7 gears and inner bearings that are different will not have "-300-" for the type definition (e.g., nnnnn-300-nnn is pre-F0, while nnnn-410-nnn is F2/3 and nnnnn-392-nnn is K7/8 parts).
Finally: the F2 and later engines used a special case-width shim 'system' on the mainshaft that today escapes many of the parts fiche (South Sound and CMSNL both miss it) that pushes the mainshaft's gears toward the clutch side of the transmission by a certain amount, depending on how far "off" the chain-drive-side of the engine case was after casting and machining. There are [up to 3] shims on that end of the mainshaft, of 0.1, 0.3 and 0.5mm thickness (and I have also seen 1mm there, in an F3 engine that lives in Alaska now) that pushes the mainshaft's gears toward the clutch side to ensure at least 3mm of gear dog depth between gears 4 and 5 on that shaft. It was a quick-and-dirty way to reduce machining costs of the K7/8 engines (and the F3 sometimes has this 'feature', too) if the injection-mold machine came up a little short of aluminum on the cases (this area is farthest from the injection site). The earlier engines were cast with lots more handwork than the later ones, so the transmissions seldom come even close to swapping between them.