Fixed slight rounding bug