add makeSingleObjectiveOTFFunction