Partitioning Algorithm for the Parametric Maximum Flow