added a check for minimize == TRUE to tuneMBO