extractBasestats more readable
extractBasestats function went here
new constant bits per byte: 8