remove float cast in `simple_linear_interpolation`