Inverse design of y-branch