Inverse design optimization of a compact grating coupler