it seems to work okay even if numshards ends up even.