Compensation technique improves measurements for a range of mechanically compatible connectors