Made statistical preprocessor operate in memory