Renumber measures!
Important step: pass on metadata