switched to vector<uint64_t> for extents info
implemented extent vector merging
implemented calculateSize for segments