Add loop to get max block statistics.