compressing, sorting and indexing new mapping families