Add median analysis for BHR-flash