Changed the segment storage system.