refactored XCorrProcessor