Your bins are 10 units wide. The key for histograms (and kernelling) is that the area integrates to 1, not sums to 1.
If that is not the answer you want, you can use cuts() or other functions to map your values into factors (bins), then generate a histogram on those factors.