buildModels passes tuneLength correctly