Fix the std::bad_allocation error  (#2455)
Fix the std::bad_allocation error  (#2455)

* add check if next_offset is greater than current offset

* remove thread include

* fix the multithread issue in coord_string

* keep the original spaces between lines

* removed uncessary chrono include

* add one more space line
TileDB-Inc/TileDB,TileDB-Inc/TileDB,TileDB-Inc/TileDB,TileDB-Inc/TileDB