For minimalDist use mappings directly instead of unzipping maximal dist