This currently uses doubles, if the class has been fixed to use int and
I don't have it locally the fix should be quick.