The correct amount of bins are being generated now.

Fixes #77