Split ReduceAndReconstruct in multiple files