smoothing and ticks formula. again