Properly calculate median given an even number of values in stress.exe