Added pre-processing percentage parameter.