medium_cdtoc and track merge, ensure_index