The way you are supposed to do it is to organize the shims exactly as you took them off, so you can put them back the same way.............too late for that now.
Now it will be trial and error. Put the shims back the way you think they went, then measure the horizontal and vertical clearance between the coupler. On your ski the clearances should be (a) 0-.5mm vertically and (b) 2-4 mm horizontally.
You have to slide the engine front to back and add and subtract shims to get the clearance right. Check it again after you tighten everything.............it is a PITA to get it right.