simply roll a D4-1 for each and every shortcut to see how many cars have taken that before you. Then draw that number of 'K' cards for the shortcut in question, and place any mud tokens for any mud result (only - i.e ignore any 'flat tyres' of 'OK' cards) on the corner. Don't forget to re-shuffle all K cards before beginning the race!
Wouldn't it be simplier to roll a few (ex. 4) Accelleration dice and place as many mud tokens as many hazards were rolled?