recalculate the values for big text