removes length until length is gathered before hashing