A simple and effective solution to the constrained QM/MM simulations.