The insides of oilpumps come in at least 3 different capacities measured by the width of its gears.
if the pump you bought has better gears you should be able to rebuilt your old pump with it.
if you replace your old housing , for a higher capacity one, use the new largercapacity oilpan to accomodate for the longer neck