Derive PMD from PMX, and remove identical data