Implicit conversion from float -17.659574468085097 to int loses precision