Pass correct number of objectives to the builder