Specify the `int` dtype here and the later calculations will fall out in ints, I think.