Has translated up to the part where the profile matrix gets sorted by max count to add the don't cares.