Return to previous version of Dmitri's method.