3D characterization of hard breakdown in RRAM device