Having just gone through timing my B5100 (two cylinder, 500cc, same gear setup) I can give you a few hints.
First one shim changes the timing a lot, so start there.
Second the timing marks on the gears as shown above only come around every 138 revolutions of the crank:eek:
This threw me for a...