using more efficient bytestring put/get
Makes tests cover more cases (resize slower)