use hashrateAvg to calculate median