Find number of ' R ' coordinates which are less than the ' L ' value of the current segment
int lesser = lower_bound ( rvalues . begin ( ) , rvalues . end ( ) , segments [ i ] [ 0 ] ) - rvalues . begin ( ) ;