There's a phrase that carpet layers and carpenters all seem to like that applies equally to anything mechanical: Measure twice, cut once.
It's all a learning curve (which's what I told my boss when he had to replace a dang expensive layshaft at his expense coz I'd put it in the gearbox wrong

).