Unconditionally stable element-by-element algorithms for dynamic problems