Used floor + 0.5 instead of round