Computational design of structured chemical products