Try and mark the edge of the crownwheel with a marking dye, engineers blue or similar, make sure inside of gearbox casing is clean, and bolt it together quick, it should leave blue dye anywhere it touches the case, then you can file/machine/grind it back to fit?