add rns core arithmetic