fixed rational overflow reading