avoid using size of non-static data member (doesnt't compile with clang for some reason)
Merge pull request #12 from Altren/master

avoid using size of non-static data member