made bit reservoir size externally configurable