Molecular dynamics study of the RNA ring nanostructure: a phenomenon of self-stabilization