rewrite tree segment to reduce read times.