remove all manual setting of 'length'. Make tests pass again
1.3.1