change: static function dealloc has changed to seg_dealloc.
fix: should call seg_dealloc function to deallocate memory of usher_seg_t.
fix: should increment pointer to reduce number of loops.