def getTopPaths(paths):
 top = (-999999999.9)
 for path in paths:
  for point in path:
   top = max(top, point.z)
 return top

def getTopPaths ( paths ) : top = ( - 999999999.9 ) for path in paths : for point in path : top = max ( top , point . z ) return top
get the top of the paths .