minor
seek optimization fixed
seek optimization fixed
connect_segments fixed