Characterization of in-depth cavity distribution after thermal