tweak names generation further, more speedups
more generate-names refinements, working on reducing memory usage further