Fix a bug in extract_eigenvalue_sparse. It is possible the first segment in the file has no hooks. In the case, we ignore the segment boundary and merge the first segment into next segment.