length of the longest contained range