Switch to using rationals for constants