add sum and center in fof