Fix used filament estimation

Compute the max of all total lengths