EllipsoidFactor: use int to store maxIDs


Unlikely to need more than 2 billion unique ellipsoids