Switch back to modified version of previous algorithm.