Added range specification for preprocessing stage