Greedy SDCH-dictionary generator