Reduce the number of modules