Revert "Move to represent bits by decimal (#5)"

Apparently this caused a lot of pain since decimal was returned instead of int all of a sudden

This reverts commit 270e262616fd1f7853eafc554a8fc637f502a92b.
v1.2.0