collect MapPhaseLength and ReducePhaseLength in test.sh