Nodal FEM and step-by-step perturbation framework for partially filled cavities