Revert the center calculation function.