recalculates small