A decision model for selective assembly