hbb api optimizer build