Fixing instance setting of bits not reusing initial length, updating tests.
Updating documentation