Speedometer is driving me crazy- Something is Wrong

it was quite a bit smaller in diameter (don't know how many tooth) than the new gear.
There are a number of gear diameters. If you look at the housing the gear goes in, the speedo gear is off set to accommodate different gear sizes. there are numbers around the rim of the housing that correspond with number of teeth on the gear and a nub on the transmission that acts as a pointer. You have to loosen the speedo cable nut on the housing to be able to rotate the housing.