RunningMedian does not work as intended, tried using builtins but it didn't work as intended