put back the length instance variable, but reset it to nil on parsing a new sam line