I needed to floor the values.