These bits were mostly left untouched from @mynameisfiber so any feedback from him would be welcome.

That being said, 8BYTE vs 8BIT thing is right, I'll go through and rename those for clarity's sake at some point.  

Similarly cleaning up the ceil call seems like a good idea.