Reduce number of specializations