Got rid of `math.Floor` and `float64` casts.