For different numbers of drugs per hierarchy