Use a hash table for the label map label uniquification process.