Studying the energy hypersurface of multi‐minima systems — the threshold and the lid algorithm