Update MedianMaintenance.cpp