@Override
      TypeList read(Dex.Section in, IndexMap indexMap, int index) {
        return indexMap.adjustTypeList(in.readTypeList());
      }
minimum number of wasted bytes before it's worthwhile to compact the result
android/android_framework/dex-maker/src/main/java/com/android/dx/merge/DexMerger.java