Improved understanding of earthquake interaction with waveform matching method