Text this: Control of bifurcation structures using shape optimization