Find smaller generating sets for modules