Work out the length of the straight line at an angle q say to one wall which just touches the inner corner in terms of ab and q. This length will change as q changes and it won't be possible to manoeuvre an object around the corner which is longer then the minimum value of this length.