use floor instead of round