Inverse design of waveguide crossing