Application of a circuit-based approach to ensuring the stability of a modified finite difference time domain algorithms