force rate to be an integer