segments on tube variable based on vertice lenght