Gravar-mail: Overcoming potential energy distortions in constrained internal coordinate molecular dynamics simulations