Fast Parallel Hierarchical Aggregation/Disaggregation Algorithms for Multistage Optimization Problems and Shortest Path Problems