change level's segment length.