Compute maximum corner radius.