Quote Originally Posted by Nekodar View Post
Don't forget power of two minus one.
Of course, 0 based numbering ftw!