speed up generateDesign