Bayesian optimization of a Y branch