Reducing variability of a set of structures assembled from uncertain substructures