The local "ConstantFold" method is now just a watered down version of