Add pre-smoothing functionality